package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 运行策略额外表
 * </p>
 *
 * @author fei.zhang
 * @since 2023-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_gss_running_strategy_ext")
@ApiModel(value="RunningStrategyExt对象", description="运行策略额外表")
public class RunningStrategyExt extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "主表id")
    @TableField("strategy_id")
    private Long strategyId;


    @ApiModelProperty(value = "消息推送方式：1 短信推送 2 微信模版消息 3机器人外呼")
    @TableField("push_type")
    private Integer pushType;

    @ApiModelProperty(value = "服务到期状态，1距离服务到期≤30天，2服务到期当天,3服务超期")
    @TableField("push_service_expire_level")
    private Integer pushServiceExpireLevel;


    @ApiModelProperty(value = "推送级别1-10")
    @TableField("push_level")
    private String pushLevel;

    @ApiModelProperty(value = "其他联系人电话")
    @TableField("push_phones")
    private String pushPhones;

    @ApiModelProperty(value = "频率: 1每日、2每周、3每月")
    @TableField("push_frequency")
    private Integer pushFrequency;

    @ApiModelProperty(value = "次数")
    @TableField("push_number")
    private Integer pushNumber;

    @ApiModelProperty(value = "推送时间段: 0即刻、1短白天、2长白天、3上午、4下午、5晚上")
    @TableField("push_time")
    private Integer pushTime;

    @ApiModelProperty(value = "页面展示顺序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "外呼时是否发送短信")
    @TableField("call_send_note")
    private Integer callSendNote;

    @ApiModelProperty(value = "企业编号")
    @TableField("sp_id")
    private String spId;

}
